package practice;

import java.util.Scanner;

public class Prime {
    public static void main(String[] args) {
        PrintPrime();
    }
    public static void PrintPrime() {
        for(int i = 101;i <= 200;i++){
            boolean x = true;
            for(int j = 2;j * j <= i;j++){
                if(i % j == 0) {
                    x = false;
                    break;
                }
            }
            if(x) {
                System.out.print(i +" ");
            }
        }
    }
}
